package es.juanc.commons.lang;

import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.CharRange;
import org.apache.commons.lang.CharSet;

public class CharSetExample {

	public static void main(String args[]) {
		
		CharSet set = CharSet.getInstance("the apprentice");
		System.err.println(set.contains('q'));
		
		CharRange[] range = set.getCharRanges();
		System.err.println(ArrayUtils.toString(range));
	}
}
